package org.epidroid.epidroid.androsoul.ui.contactlist;

import org.epidroid.epidroid.androsoul.engine.contacts.ContactGroup;

import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;

public class ContactsListAdapter extends SectionedAdapter {

	ArrayAdapter<ContactGroup> mHeaders = null;

	public ContactsListAdapter(ArrayAdapter<ContactGroup> headers) {
		super();
		mHeaders = headers;
	}

	@Override
	protected View getHeaderView(String caption, int index, View convertView,
			ViewGroup parent) {
		return mHeaders.getView(index, convertView, parent);
	}

}
